<%@ page language="java" errorPage="/error.jsp" pageEncoding="UTF-8"
	contentType="text/html;charset=utf-8"%>
<%@ include file="/common/taglibs.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<title></title>
		<%@ include file="/jsp/front/common/header.jsp"%>  
	</head>
	<body>
		<%@ include file="/jsp/front/common/nav.jsp"%>
		<div class="container">
			<div class="leftBar">
				<%@ include file="/jsp/front/common/leftHelp.jsp"%>
			</div>
			<div class="content">


				<div id="flightListInfo">
					<div class="t_block2 finfo" id="flightAirInfo">
						<div class="hd">
							<div class="wrap">
								租车信息
							</div>
						</div>
						<div class="ct">



							<div class="showonly" id="filterPanel">
								<div id="filterXI28" class="">
									<div class="filterList">
										<span style="float: left;">取车时间：</span><a class="active"
											style="float: left;" href="#">${frontAutoSearch.beginDate}</a>
										<span style="padding-left: 50px;">取车地点 </span>
										<span class="active"> <c:forEach var="region"
												items="${systemRegions}" varStatus="status1">
												<c:if test="${frontAutoSearch.from eq region.regionId }"> ${region.localName}</c:if>
											</c:forEach> </span>
									</div>
								</div>
							</div>
							<div class="showonly" id="filterPanel">
								<div id="filterXI28" class="">
									<div class="filterList">
										<span style="float: left;">还车时间：</span><a class="active"
											style="float: left;" href="#">${frontAutoSearch.endDate}</a>

										<span style="padding-left: 50px;">还车地点</span>
										<span class="active"> <c:forEach var="region"
												items="${systemRegions}" varStatus="status1">
												<c:if test="${frontAutoSearch.to eq region.regionId }"> ${region.localName}</c:if>
											</c:forEach> </span>



									</div>
								</div>
							</div>
						</div>
					</div>
					<div class="t_block2 finfo" id="flightAirInfo">
						<div class="hd">
							<div class="wrap">
								车型选择
							</div>
						</div>
						<div class="ct">

							<div class="showonly" id="filterPanel">
								<div id="filterXI28" class="">
									<div class="filterList">
										<span style="float: left;">品牌：</span>
										<span>
											<a
														href="auto_list.do?frontAutoSearch.brandId=&frontAutoSearch.endDate=${ frontAutoSearch.endDate}&frontAutoSearch.to=${frontAutoSearch.to }&frontAutoSearch.beginDate=${frontAutoSearch.beginDate}&frontAutoSearch.from=${frontAutoSearch.from}">
														全部 </a>
											<label for="filterListXI29">

												<c:forEach var="list" items="${autoBrands}"
													varStatus="status1">
													<a
														href="auto_list.do?frontAutoSearch.brandId=${ list.brandId}&frontAutoSearch.endDate=${ frontAutoSearch.endDate}&frontAutoSearch.to=${frontAutoSearch.to }&frontAutoSearch.beginDate=${frontAutoSearch.beginDate}&frontAutoSearch.from=${frontAutoSearch.from}">
														${list.brandName } </a>
												</c:forEach>
											</label> </span>
									</div>
								</div>
							</div>
							<!--							<div class="showonly" id="filterPanel">-->
							<!--								<div id="filterXI28" class="">-->
							<!--									<div class="filterList">-->
							<!--										<span style="float: left;">厢数：</span><a id="clearFilterXI28"-->
							<!--											class="active" style="float: left;" href="#">全部</a><span>-->
							<!--											<label for="filterListXI29">-->
							<!--												<a id="flinkfilterListXI29" value="CZ" name="airName"-->
							<!--													href="#nogo"> 三厢 两厢 </a>-->
							<!--											</label> </span>-->
							<!--									</div>-->
							<!--								</div>-->
							<!--							</div>-->
						</div>
					</div>



					<div id="flightList" class="list">
						<div class="hd">
							&nbsp;
						</div>
						<div class="flightPanel">
							<c:forEach var="auto" items="${autoes}" varStatus="status1">
								<form action="order_cart.do">
									<input type="hidden" name="frontAutoSearch.beginDate"
										value="${frontAutoSearch.beginDate }" />
									<input type="hidden" name="frontAutoSearch.from"
										value="${frontAutoSearch.from }" />
									<input type="hidden" name="frontAutoSearch.endDate"
										value="${frontAutoSearch.endDate }" />
									<input type="hidden" name="frontAutoSearch.to"
										value="${frontAutoSearch.to }" />
									<input type="hidden" name="autoId" value="${auto.autoId }" />
									<div id="flightListXI34" class="ct" style="z-index: 600">
										<div class="c2">

											<br />
											<img width="180px" height="130px"
												src="<c:url value='${auto.defaultPic}' />" />
											<br />

										</div>
										<div class="c4">
											&nbsp;

										</div>
										<div class="c2">
											<div  >
												<br />
												${auto.name} / ${auto.engine} / ${auto.gearbox}
												<br />
												<br />

												保险 : ${auto.insure}
											</div>
										</div>
										<div class="c4">
											&nbsp;

										</div>
										<div class="c2">
											<div class="pr">
												<br />

												<span>周一到周四 </span>
												<span style="margin-left: 30px;">¥${auto.price} </span>
												<br />
												<br />
												<span> 周五到周末 </span>
												<span style="margin-left: 30px;">
													¥${auto.weekendPrice} </span>
												<br />
												<br />
												<span> 法定节假日 </span>
												<span style="margin-left: 30px;">¥${auto.holidayPrice}
												</span>
												<br />
												<br />

											</div>

										</div>

										<div class="c3">
											<div class="pr">
											</div>

										</div>
										<div class="bb">
											<input type="submit" value="预订" style="padding:5px;" />
										</div>
									</div>
								</form>
							</c:forEach>
						</div>
					</div>
					<table class="tbl" style="display: hidden;"> </table>
					<div  >						
						<div  class="pager"></div>
					</div>
				</div>

			</div>
		</div>
<script type="text/javascript" src="<c:url value='/scripts/jquery-1.4.2.js'/>"></script>
		<%@ include file="/jsp/front/common/footer.jsp"%>
		<script type="text/javascript" src="<c:url value='/scripts/jquery.pager.js'/>"></script>
		<script src="<c:url value='/scripts/vm_pagination.js'/>"></script>
<script>
$(function(){
	$('table.tbl').pagination({
		pager : "div.pager" ,
		currentPage : ${frontAutoSearch.pageCurrentPage} ,
		totalPage : ${frontAutoSearch.pageTotalPage} ,
		recordCount : ${frontAutoSearch.pageTotalRow }
	});
	
	 
});
</script>

	</body>
</html>